/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import java.io.IOException;
/*     */ import java.util.ArrayList;
/*     */ import java.util.Collection;
/*     */ import java.util.List;
/*     */ import java.util.UUID;
/*     */ import java.util.concurrent.ConcurrentHashMap;
/*     */ import java.util.stream.Collectors;
/*     */ import net.minecraft.item.ItemStack;
/*     */ import net.minecraft.util.math.Vec3d;
/*     */ import org.yaml.snakeyamla.configuration.ConfigurationSection;
/*     */ 
/*     */ 
/*     */ public class bda
/*     */ {
/*  17 */   public static bda q = new bda();
/*  18 */   private ConcurrentHashMap<String, eos/moe/dragoncore/tca> g = new ConcurrentHashMap<>();
/*     */   
/*     */   public ConcurrentHashMap<String, eos/moe/dragoncore/tca> v() {
/*  21 */     return this.g;
/*     */   }
/*     */   
/*     */   public static class eos/moe/dragoncore/tca
/*     */   {
/*  26 */     private static Vec3d v = new Vec3d(0.0D, 999.0D, 0.0D);
/*     */     
/*     */     private List<ka> k;
/*     */     
/*     */     private String o;
/*     */     
/*     */     private Vec3d y;
/*     */     
/*     */     private Vec3d h;
/*     */     
/*     */     private float u;
/*     */     
/*     */     private float j;
/*     */     
/*     */     private float c;
/*     */     
/*     */     private String r;
/*     */     
/*     */     private float f;
/*     */     private float s;
/*     */     private float m;
/*     */     private boolean l;
/*     */     private boolean t;
/*     */     private UUID d;
/*     */     private boolean z;
/*     */     private boolean i;
/*     */     private double w;
/*     */     private boolean q;
/*     */     private ItemStack g;
/*     */     
/*     */     public eos/moe/dragoncore/tca(ConfigurationSection configurationSection) {
/*  57 */       this.q = configurationSection.getBoolean("renderOnFirst", true);
/*  58 */       this.o = configurationSection.getString("world");
/*  59 */       double d1 = configurationSection.getDouble("x");
/*  60 */       double d2 = configurationSection.getDouble("y");
/*  61 */       double d3 = configurationSection.getDouble("z");
/*  62 */       this.y = new Vec3d(d1, d2, d3);
/*     */       
/*  64 */       this.u = (float)configurationSection.getDouble("rotateX");
/*  65 */       this.j = (float)configurationSection.getDouble("rotateY");
/*  66 */       this.c = (float)configurationSection.getDouble("rotateZ");
/*  67 */       this.r = configurationSection.getString("path");
/*  68 */       this.f = (float)configurationSection.getDouble("width");
/*  69 */       this.s = (float)configurationSection.getDouble("height");
/*  70 */       this.m = (float)configurationSection.getDouble("alpha", 1.0D);
/*  71 */       this.l = configurationSection.getBoolean("follow");
/*  72 */       this.t = configurationSection.getBoolean("glow", true);
/*  73 */       this.i = configurationSection.getBoolean("through", false);
/*  74 */       this.w = configurationSection.getDouble("distance", 64.0D);
/*  75 */       this.k = new ArrayList<>();
/*  76 */       long l = System.currentTimeMillis();
/*  77 */       for (String str : configurationSection.getStringList("animations")) {
/*  78 */         if (str.contains("#")) {
/*  79 */           String str1 = str.substring(0, str.indexOf("#"));
/*  80 */           if ("rotate".equalsIgnoreCase(str1)) {
/*  81 */             this.k.add(new mv(l, str.substring(7))); continue;
/*  82 */           }  if ("scale".equalsIgnoreCase(str1)) {
/*  83 */             this.k.add(new tz(l, str.substring(6))); continue;
/*  84 */           }  if ("translate".equalsIgnoreCase(str1)) {
/*  85 */             this.k.add(new qv(l, str.substring(10)));
/*     */           }
/*     */         } 
/*     */       } 
/*  89 */       v();
/*     */     }
/*     */     
/*     */     public eos/moe/dragoncore/tca(la la1, boolean bool) {
/*  93 */       this.q = true;
/*  94 */       this.o = la1.func_150789_c(2048);
/*  95 */       double d1 = la1.readDouble();
/*  96 */       double d2 = la1.readDouble();
/*  97 */       double d3 = la1.readDouble();
/*  98 */       this.y = new Vec3d(d1, d2, d3);
/*  99 */       this.u = la1.readFloat();
/* 100 */       this.j = la1.readFloat();
/* 101 */       this.c = la1.readFloat();
/*     */       try {
/* 103 */         this.g = la1.func_150791_c();
/* 104 */       } catch (IOException iOException) {
/* 105 */         this.g = ItemStack.field_190927_a;
/* 106 */         iOException.printStackTrace();
/*     */       } 
/*     */       
/* 109 */       this.s = la1.readFloat();
/* 110 */       this.l = la1.readBoolean();
/* 111 */       this.t = la1.readBoolean();
/* 112 */       boolean bool1 = la1.readBoolean();
/* 113 */       if (bool1) {
/* 114 */         this.d = la1.func_179253_g();
/* 115 */         this.z = la1.readBoolean();
/* 116 */         double d4 = la1.readDouble();
/* 117 */         double d5 = la1.readDouble();
/* 118 */         double d6 = la1.readDouble();
/* 119 */         this.h = new Vec3d(d4, d5, d6);
/*     */       } 
/* 121 */       this.k = new ArrayList<>();
/* 122 */       int i = la1.readInt();
/* 123 */       List<String> list = new ArrayList();
/* 124 */       for (int j = 0; j < i; j++) {
/* 125 */         list.add(la1.func_150789_c(32768));
/*     */       }
/* 127 */       long l = System.currentTimeMillis();
/* 128 */       for (String str : list) {
/* 129 */         if (str.contains("#")) {
/* 130 */           String str1 = str.substring(0, str.indexOf("#"));
/* 131 */           if ("rotate".equalsIgnoreCase(str1)) {
/* 132 */             this.k.add(new mv(l, str.substring(7))); continue;
/* 133 */           }  if ("scale".equalsIgnoreCase(str1)) {
/* 134 */             this.k.add(new tz(l, str.substring(6))); continue;
/* 135 */           }  if ("translate".equalsIgnoreCase(str1)) {
/* 136 */             this.k.add(new qv(l, str.substring(10))); continue;
/* 137 */           }  if ("alpha".equalsIgnoreCase(str1)) {
/* 138 */             this.k.add(new mx(l, str.substring(6)));
/*     */           }
/*     */         } 
/*     */       } 
/*     */       try {
/* 143 */         this.i = la1.readBoolean();
/* 144 */         this.w = la1.readDouble();
/* 145 */         this.q = la1.readBoolean();
/* 146 */       } catch (Exception exception) {}
/*     */ 
/*     */ 
/*     */       
/* 150 */       v();
/*     */     }
/*     */ 
/*     */     
/*     */     public eos/moe/dragoncore/tca(la la1) {
/* 155 */       this.q = true;
/* 156 */       this.o = la1.func_150789_c(2048);
/* 157 */       double d1 = la1.readDouble();
/* 158 */       double d2 = la1.readDouble();
/* 159 */       double d3 = la1.readDouble();
/* 160 */       this.y = new Vec3d(d1, d2, d3);
/* 161 */       this.u = la1.readFloat();
/* 162 */       this.j = la1.readFloat();
/* 163 */       this.c = la1.readFloat();
/* 164 */       this.r = la1.func_150789_c(8192);
/* 165 */       this.f = la1.readFloat();
/* 166 */       this.s = la1.readFloat();
/* 167 */       this.m = la1.readFloat();
/* 168 */       this.l = la1.readBoolean();
/* 169 */       this.t = la1.readBoolean();
/* 170 */       boolean bool = la1.readBoolean();
/* 171 */       if (bool) {
/* 172 */         this.d = la1.func_179253_g();
/* 173 */         this.z = la1.readBoolean();
/* 174 */         double d4 = la1.readDouble();
/* 175 */         double d5 = la1.readDouble();
/* 176 */         double d6 = la1.readDouble();
/* 177 */         this.h = new Vec3d(d4, d5, d6);
/*     */       } 
/* 179 */       this.k = new ArrayList<>();
/* 180 */       int i = la1.readInt();
/* 181 */       List<String> list = new ArrayList();
/* 182 */       for (int j = 0; j < i; j++) {
/* 183 */         list.add(la1.func_150789_c(32768));
/*     */       }
/* 185 */       long l = System.currentTimeMillis();
/* 186 */       for (String str : list) {
/* 187 */         if (str.contains("#")) {
/* 188 */           String str1 = str.substring(0, str.indexOf("#"));
/* 189 */           if ("rotate".equalsIgnoreCase(str1)) {
/* 190 */             this.k.add(new mv(l, str.substring(7))); continue;
/* 191 */           }  if ("scale".equalsIgnoreCase(str1)) {
/* 192 */             this.k.add(new tz(l, str.substring(6))); continue;
/* 193 */           }  if ("translate".equalsIgnoreCase(str1)) {
/* 194 */             this.k.add(new qv(l, str.substring(10)));
/*     */           }
/*     */         } 
/*     */       } 
/*     */       try {
/* 199 */         this.i = la1.readBoolean();
/* 200 */         this.w = la1.readDouble();
/* 201 */         this.q = la1.readBoolean();
/* 202 */       } catch (Exception exception) {}
/*     */ 
/*     */ 
/*     */       
/* 206 */       v();
/*     */     }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     
/*     */     public ItemStack v() {
/* 223 */       return this.g;
/*     */     }
/*     */ 
/*     */     
/*     */     public static Vec3d h() {
/* 228 */       return v;
/*     */     }
/*     */     
/*     */     public UUID v() {
/* 232 */       return this.d;
/*     */     }
/*     */     
/*     */     public boolean y() {
/* 236 */       return this.z;
/*     */     }
/*     */ 
/*     */     
/*     */     public String z() {
/* 241 */       return this.r;
/*     */     }
/*     */     
/*     */     public float s() {
/* 245 */       return this.f;
/*     */     }
/*     */     
/*     */     public float y() {
/* 249 */       return this.s;
/*     */     }
/*     */     
/*     */     public boolean t() {
/* 253 */       return this.l;
/*     */     }
/*     */ 
/*     */     
/*     */     public float t() {
/* 258 */       return this.u;
/*     */     }
/*     */     
/*     */     public boolean h() {
/* 262 */       return this.q;
/*     */     }
/*     */     
/*     */     public float h() {
/* 266 */       return this.j;
/*     */     }
/*     */ 
/*     */     
/*     */     public float z() {
/* 271 */       return this.c;
/*     */     }
/*     */     
/*     */     public String v() {
/* 275 */       return this.o;
/*     */     }
/*     */     
/*     */     public float v() {
/* 279 */       return this.m;
/*     */     }
/*     */     
/*     */     public Vec3d z() {
/* 283 */       return this.y;
/*     */     }
/*     */     
/*     */     public boolean z() {
/* 287 */       return this.t;
/*     */     }
/*     */     
/*     */     public Vec3d v() {
/* 291 */       return this.h;
/*     */     }
/*     */     
/*     */     public List<ka> v() {
/* 295 */       return this.k;
/*     */     }
/*     */     
/*     */     public boolean v() {
/* 299 */       return this.i;
/*     */     }
/*     */     
/*     */     public double v() {
/* 303 */       return this.w;
/*     */     }
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\bda.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */